package com.qls.mt.biz.common.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qls.core.entity.OpHtlGroup;
import com.qls.mt.biz.common.dao.OpHtlGroupMapper;
import com.qls.mt.biz.common.service.OpHtlGroupService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Administrator
 */
@Service
public class OpHtlGroupServiceImpl extends ServiceImpl<OpHtlGroupMapper, OpHtlGroup> implements OpHtlGroupService {

    @Override
    public List<Integer> pullhotelId(Integer groupId) {
        return baseMapper.getAllByGruoId(groupId);
    }

    @Override
    public List<Integer> getStoreIdByHotelId(Long hotelId) {
        return baseMapper.getStoreIdByHotelId(hotelId);
    }

}


